<template>
	<view>
	
		<view class="conter">
			<view class="bg"></view>
			<view class="content1">
				<view class="box1">
					<view class="city">
						<!-- <view class="citys"> -->
						<!-- <select name="" id="" v-model="city" class="">
							<option v-for="item in citylist" :key="id" value="item.cityname">{{item.cityname}}</option>
						</select> -->
						<SelectBox  :select="select"></SelectBox>
						 
						<!-- </view> -->
					</view>
					<view class="push"><view class="pushs"> +添加卡片 </view></view>
				</view>
				<view class="box2" :style="box2Url">
					<view class="went1">雨点广发信用卡</view>
					<image class="box-img" src="../static/picture_xinyongka_guangfaxinyongka.png" mode="">
					</image>
					<view class="went2">刷卡免年费 / 大牌五折起</view>
					<view class="went3">购买智能产品劵月月免费送</view>
					<button class="btn">立即申请</button>
					<view class="went4">
						<text>权益详情</text>
						<text>更多银行</text>
					</view>
				</view>
			</view>
			<view class="content2">
				<view class="weaper">
					<view class="weaper1">热门优惠</view>
					<view class="weaper2">查看更多</view>
				</view>
				<view class="box">
					<image class="box-img" src="../static/picture_xinyongka_remenyouhui01@3x.png" mode="">
					</image>
					<view class="text">
						<view class="text1"><text>上海农商银行卡——嗨翻周末，微信绑卡农商</text></view>
						<view class="text2">上海农商银行卡——嗨购周末，微信绑卡农商</view>
					</view>
				</view>
				<view class="box">
					<image class="box-img" src="../static/picture_xinyongka_remenyouhui02@3x.png" mode="">
					</image>
					<view class="text">
						<view class="text1"><text>成都广发信用卡，好礼相送，惊呆路人纷纷购买。</text></view>
						<view class="text2">成都广发信用卡，好礼相送，惊呆路人纷纷购买。</view>
					</view>
				</view>
				<view class="box">
					<image class="box-img" src="../static/picture_xinyongka_remenyouhui03@3x.png" mode="">
					</image>
					<view class="text">
						<view class="text1"><text>农行卡全国统一喜闻乐见，浓情送礼，礼品多多，争相抢购。</text></view>
						<view class="text2">农行卡全国统一喜闻乐见，浓情送礼，礼品多多，争相抢购。</view>
					</view>
				</view>
			</view>
			<view class="content3">
				<view class="weaper">
					<view class="weaper1">热门攻略</view>
					<view class="weaper2">查看更多</view>
				</view>
				<view class="box">
					<view class="box1">
						<view class="msg1">用卡攻略</view>
						<view class="msg2">了解更多刷卡姿势</view>
					</view>
					<view class="box2">
						<view class="msg1">超市购物</view>
						<view class="msg2">消费返现月享</view>
					</view>
					<view class="box3">
						<view class="msg1">网络达人</view>
						<view class="msg2">剁手族必备</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import SelectBox from '../../components/select-box/select-box.vue'
	export default {
		components: {
			SelectBox
		},
		data() {
			return {
			box2Url:"background-image: url();background-size: 105rpx 90rpx;background-repeat: no-repeat;background-position: 230rpx 15rpx;",
              city:"成都",
			  citylist:[{id:'1',cityname:'成都'},{id:'2',cityname:'上海'},{id:'3',cityname:'深圳'}],
			  select: [{ name: "1" }, { name: "2" }, { name: "3" }, { name: "4" }]
			}
		},
		methods: {

		}
	}
</script>

<style scoped lang="scss">
	button::after {
		border: none
	}
	.bti {
		width: 750rpx;
		height: 100rpx;
		line-height: 100rpx;
		text-align: center;
		margin-bottom: 24rpx;
	}
	.conter {
		width: 750rpx;
		.bg{
			background-image: linear-gradient(to bottom , #58A7FE,#ffffff);
			position: absolute;
			z-index: -1;
			height: 500rpx;
			width: 750rpx;
		}
		.content1 {
			width: 750rpx;
			margin-bottom: 40rpx;
			.box1 {
				width: 750rpx;
				height: 50rpx;
				margin-bottom: 48rpx;
				display: flex;
				flex-grow: grow;
				-webkit-justify-content: space-between;
				justify-content: space-between;
				z-index: 9;
				.push{
					width: 400rpx;
					height: 50rpx;
				.pushs {
					width: 120rpx;
					height: 30rpx;
					color: black;
					font-size: 20rpx;
					text-align: center;
					line-height: 30rpx;
					float: right;
					background-color: white;
					
					border-radius: 30rpx 0rpx 0rpx 30rpx;
				   };
				};
				.city{
					width: 400rpx;
					height: 50rpx;
					padding:30rpx 0 0 40rpx;
				.citys{
					width: 60rpx;
					height: 20rpx;
					font-size: 16rpx;
					background-color: red;
					border: 1px solid red;
				};
				};
			};
			.box2 {
				width: 750rpx;
				display: flex;
				flex-wrap: wrap;
				justify-content: center;

				.went1 {
					width: 750rpx;
					text-align: center;
					font-size: 32rpx;
					color: #161616;
					margin-bottom: 20rpx;
				};
				.box-img {
					width: 454rpx;
					height: 284rpx;
				};
				.went2 {
					width: 750rpx;
					font-size: 30rpx;
					margin: 20rpx 0 8rpx 0;
					text-align: center;
					color: #323232;
				};
				.went3 {
					width: 750rpx;
					font-size: 24rpx;
					text-align: center;
					margin-bottom: 24rpx;
					color: #7a7979;
				};
				.btn {
					width: 380rpx;
					height: 80rpx;
					color: #fff;
					font-size: 32rpx;
					text-align: center;
					margin-bottom: 16rpx;
					line-height: 80rpx;
					border-radius: 40rpx;
					background-color: #1778E6;
				};
				.went4 {
					width: 380rpx;
					box-sizing: border-box;
					padding: 0 60rpx;
					font-size: 20rpx;
					color: #c9c9c9;
					display: flex;
					 -webkit-justify-content: space-between;
					    justify-content: space-between;
				}
			}
		};
		.content2 {
			width: 750rpx;
			padding: 0 40rpx;
			margin-bottom: 60rpx;
			box-sizing: border-box;
			.weaper {
				width: 670rpx;
				height: 80rpx;
				display: flex;
				.weaper1 {
					width: 330rpx;
					height: 80rpx;
					color: #161616;
					line-height: 80rpx;
					font-size: 32rpx;
				};
				.weaper2 {
					width: 330rpx;
					height: 80rpx;
					color: #c9c9c9;
					line-height: 80rpx;
					text-align: right;
				}
			};
			.box {
				width: 670rpx;
				height: 110rpx;
				margin-bottom: 30rpx;
				display: flex;
				.box-img {
					width: 250rpx;
					height: 110rpx;
				};
				.text {
					width: 410rpx;
					height: 110rpx;
					.text1 {
						width: 400rpx;
						height: 40rpx;
						color: #323232;
						font-size: 32rpx;
						padding-left: 10rpx;
						display: -webkit-box;
						margin-bottom: 20rpx;
						-webkit-box-orient: vertical;
						-webkit-line-clamp: 1;
						overflow: hidden;
					};
					.text2 {
						width: 390rpx;
						height: 50rpx;
						padding-left: 10rpx;
						color: #c9c9c9;
						font-size: 20rpx;
					}
				}
			}
		};
		.content3 {
			width: 750rpx;
			padding: 0 40rpx;
			box-sizing: border-box;
			.weaper {
				width: 670rpx;
				height: 80rpx;
				display: flex;
				margin-bottom: 10rpx;
				.weaper1 {
					width: 330rpx;
					height: 80rpx;
					color: #161616;
					line-height: 80rpx;
					font-size: 32rpx;
				};
				.weaper2 {
					width: 330rpx;
					height: 80rpx;
					color: #c9c9c9;
					line-height: 80rpx;
					text-align: right;
				}
			};
			.box {
				width: 670rpx;
				height: 240rpx;
				display: flex;
				justify-content: center;
				align-self: center;
				flex-wrap: wrap;
				flex-direction: column;
				margin-bottom: 40rpx;
				.box1 {
					width: 300rpx;
					height: 240rpx;
					color: #fff;
					box-sizing: border-box;
					padding: 12rpx 0 0 24rpx;
					border-radius:20rpx ;
					background-color: #a7d9ff;
					// background-image: url();
					background-size: 162rpx 138rpx;
					background-repeat: no-repeat;
					background-position: 138rpx 120rpx;
					.msg1{
						width:200rpx;
						font-size: 32rpx;
						margin-bottom: 4rpx;
					};
					.msg2{
						width: 200rpx;
						font-size: 24rpx;
						padding-left: 64rpx;
					}
				};
				.box2{
					width: 350rpx;
					height: 110rpx;
					margin-bottom: 10rpx;
					color: #fff;
					box-sizing: border-box;
					padding: 12rpx 0 0 24rpx;
					border-radius:20rpx ;
					background-color:#FCBEBE ;
				
					.msg1{
						width:200rpx;
						font-size: 32rpx;
						margin-bottom: 4rpx;
					};
					.msg2{
						width: 200rpx;
						font-size: 24rpx;
						padding-left: 64rpx;
					}
				};
				.box3{
					width: 350rpx;
					height: 110rpx;
					color: #fff;
					box-sizing: border-box;
					padding: 12rpx 0 0 24rpx;
					border-radius:20rpx ;
					background-color: #a7d9ff;
					// background-image: url();
					background-size: 125rpx 90rpx;
					background-repeat: no-repeat;
					background-position: 212rpx 15rpx;
					.msg1{
						width:200rpx;
						font-size: 32rpx;
						margin-bottom: 4rpx;
					};
					.msg2{
						width: 200rpx;
						font-size: 24rpx;
						padding-left: 64rpx;
					}
				}
			}
		}
	}
</style>
